<?php
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');
?>

<h2 class="titlepage">Glemt din adgangskode?</h2>
<div class="eachBox page-login-box page-forgot clearfix">
    <div class="cont-box login-content clearfix">
        <p><?php echo JText::_('COM_USERS_FIELD_PASSWORD_RESET_DESC'); ?></p>
        <form id="user-registration" action="<?php echo JRoute::_('index.php?option=com_users&task=reset.request'); ?>" method="post" class="form-validate">
        <p>Indtast din e-mail</p>
        <input class="txtip" type="text" name="jform[email]" id="jform_email" aria-required="true" required>
        <div class="wrap-btn-pp clearfix"> 
            <button type="submit" class="btnGreen-min" style="cursor:pointer;">Send</button>
        </div>
        <?php echo JHtml::_('form.token'); ?> </div>
        </form>
    </div>
    <!-- cont-box--> 
</div>
<?php return;?>
<style type="text/css">
#btnSubmit{
	display: block;text-indent: -9999px;margin-top: 8px;
	width: 85px;height: 31px;
	background: url(<?php echo JURI::root()?>templates/fitplan/src/images/imgButton.png) 0 -360px no-repeat;
}
dd{margin-left: 0}
</style>
<div class="wrapper">
    <div class="content" id="how-page">
        <h1 class="hd">Glemt din adgangskode?</h1>
        <div class="col-wrapper clearfix col-box" style="min-height:300px">
            <div class="f-forgetpass">
                <form id="user-registration" action="<?php echo JRoute::_('index.php?option=com_users&task=reset.request'); ?>" method="post" class="form-validate">
                    <p><?php echo JText::_('COM_USERS_FIELD_PASSWORD_RESET_DESC'); ?></p>
                    <input type="text" name="jform[email]" id="jform_email" value="Indtast din e-mail adresse" class="validate-username required" size="30" aria-required="true" required>
                    <div> <a class="btnSend" onclick="$('#user-registration').submit()">Send</a>
                        <button type="submit" class="validate" style="position: absolute;left:-9999px"><?php echo JText::_('JSUBMIT'); ?></button>
                        <?php echo JHtml::_('form.token'); ?> </div>
                </form>
            </div>
        </div>
    </div>
</div>
